import './assets/main.css'
import 'element-plus/dist/index.css'
import { createApp , watchEffect } from 'vue'
import ElementPlus from 'element-plus';
import { createPinia } from 'pinia'
import zhCn from 'element-plus/es/locale/lang/zh-cn'; // 引入中文语言包
import App from './App.vue'
import router from './router'

const app = createApp(App)

const pinia = createPinia()
app.use(ElementPlus, {
    locale: zhCn,
});

app.use(pinia)
app.use(router)

app.mount('#app')
